package com.yuneec.droneservice.protocol.analysis;

import com.yuneec.droneservice.tools.RCLog;

/**
 * Created by zd.zhang on 2017/3/20.
 */

public abstract class MediaStreamReceiver extends IMessageReceiver {
    public static final int MEDIA_ID = 554;

    public MediaStreamReceiver() {
        super();
    }

    @Override
    public abstract void handleMessage(Analysis.Message msg);

    @Override
    public int getMessageId() {
        return MEDIA_ID;
    }

    @Override
    public void catchException(Throwable e) {
        RCLog.d("receive media stream error:", e);
    }
}
